﻿@model System.Web.Mvc.HandleErrorInfo
@{
    Layout = null;
}
@if (Model != null)
{
    <table class="default">
        <thead>
            <tr>
                <th colspan="2">
                    异常概况
                </th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td style="width: 100px">
                    异常类型:
                </td>
                <td>
                    @Model.Exception.GetType().Name
                </td>
            </tr>
            <tr>
                <td>
                    区域:
                </td>
                <td>
                    @ViewContext.RouteData.DataTokens["Area"].ToString()
                </td>
            </tr>
            <tr>
                <td>
                    控制器:
                </td>
                <td>
                    @Model.ControllerName
                </td>
            </tr>
            <tr>
                <td>
                    方法:
                </td>
                <td>
                    @Model.ActionName
                </td>
            </tr>
            <tr>
                <td>
                    错误消息:
                </td>
                <td>
                    @Model.Exception.Message
                </td>
            </tr>
            <tr>
                <td>
                    错误详细情况:
                </td>
                <td>
                    @Model.Exception.StackTrace
                </td>
            </tr>
        </tbody>
    </table>
}